package com.kgc.collection.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class SalesCollectionRefund implements Serializable {

  private int id;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date docDate;
  private String docCode;
  private int status;
  private int cid;
  private BigDecimal refundAmount;
  private BigDecimal verRefundAmount;
  private int uid;
  private String createBy;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date createTime;
  private String updateBy;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date updateTime;
  private int did;
  private  int isDelete;
  private int typeId;

  private int checkmanId;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date checkTime;
  private String checkComment;
  private String checkmanIdStr;

  //连表查询出来的数据
  private String uidStr;
  private String cidStr;
  private String didStr;

  //次表对象集合
  private List<SalesCollectionRefundDetail> details;

  public SalesCollectionRefund() {
  }

  public SalesCollectionRefund(int id, Date docDate, String docCode, int status, int cid, BigDecimal refundAmount, BigDecimal verRefundAmount, int uid, String createBy, Date createTime, String updateBy, Date updateTime, int did, int isDelete, int typeId, int checkmanId, Date checkTime, String checkComment, String checkmanIdStr, String uidStr, String cidStr, String didStr, List<SalesCollectionRefundDetail> details) {
    this.id = id;
    this.docDate = docDate;
    this.docCode = docCode;
    this.status = status;
    this.cid = cid;
    this.refundAmount = refundAmount;
    this.verRefundAmount = verRefundAmount;
    this.uid = uid;
    this.createBy = createBy;
    this.createTime = createTime;
    this.updateBy = updateBy;
    this.updateTime = updateTime;
    this.did = did;
    this.isDelete = isDelete;
    this.typeId = typeId;
    this.checkmanId = checkmanId;
    this.checkTime = checkTime;
    this.checkComment = checkComment;
    this.checkmanIdStr = checkmanIdStr;
    this.uidStr = uidStr;
    this.cidStr = cidStr;
    this.didStr = didStr;
    this.details = details;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public Date getDocDate() {
    return docDate;
  }

  public void setDocDate(Date docDate) {
    this.docDate = docDate;
  }

  public String getDocCode() {
    return docCode;
  }

  public void setDocCode(String docCode) {
    this.docCode = docCode;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public int getCid() {
    return cid;
  }

  public void setCid(int cid) {
    this.cid = cid;
  }

  public BigDecimal getRefundAmount() {
    return refundAmount;
  }

  public void setRefundAmount(BigDecimal refundAmount) {
    this.refundAmount = refundAmount;
  }

  public BigDecimal getVerRefundAmount() {
    return verRefundAmount;
  }

  public void setVerRefundAmount(BigDecimal verRefundAmount) {
    this.verRefundAmount = verRefundAmount;
  }

  public int getUid() {
    return uid;
  }

  public void setUid(int uid) {
    this.uid = uid;
  }

  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public int getDid() {
    return did;
  }

  public void setDid(int did) {
    this.did = did;
  }

  public int getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(int isDelete) {
    this.isDelete = isDelete;
  }

  public int getTypeId() {
    return typeId;
  }

  public void setTypeId(int typeId) {
    this.typeId = typeId;
  }

  public int getCheckmanId() {
    return checkmanId;
  }

  public void setCheckmanId(int checkmanId) {
    this.checkmanId = checkmanId;
  }

  public Date getCheckTime() {
    return checkTime;
  }

  public void setCheckTime(Date checkTime) {
    this.checkTime = checkTime;
  }

  public String getCheckComment() {
    return checkComment;
  }

  public void setCheckComment(String checkComment) {
    this.checkComment = checkComment;
  }

  public String getCheckmanIdStr() {
    return checkmanIdStr;
  }

  public void setCheckmanIdStr(String checkmanIdStr) {
    this.checkmanIdStr = checkmanIdStr;
  }

  public String getUidStr() {
    return uidStr;
  }

  public void setUidStr(String uidStr) {
    this.uidStr = uidStr;
  }

  public String getCidStr() {
    return cidStr;
  }

  public void setCidStr(String cidStr) {
    this.cidStr = cidStr;
  }

  public String getDidStr() {
    return didStr;
  }

  public void setDidStr(String didStr) {
    this.didStr = didStr;
  }

  public List<SalesCollectionRefundDetail> getDetails() {
    return details;
  }

  public void setDetails(List<SalesCollectionRefundDetail> details) {
    this.details = details;
  }

  @Override
  public String toString() {
    return "SalesCollectionRefund{" +
            "id=" + id +
            ", docDate=" + docDate +
            ", docCode='" + docCode + '\'' +
            ", status=" + status +
            ", cid=" + cid +
            ", refundAmount=" + refundAmount +
            ", verRefundAmount=" + verRefundAmount +
            ", uid=" + uid +
            ", createBy='" + createBy + '\'' +
            ", createTime=" + createTime +
            ", updateBy='" + updateBy + '\'' +
            ", updateTime=" + updateTime +
            ", did=" + did +
            ", uidStr='" + uidStr + '\'' +
            ", cidStr='" + cidStr + '\'' +
            ", didStr='" + didStr + '\'' +
            ", details=" + details +
            '}';
  }


}
